<@master template="master/master-loan"  title="怡亚通380金服__新闻资讯">
   <div class="navBox">
    	<div class="mainbox">
        	<p class="dqym">当前页面：<a href="/loanApply/index">首页</a>-<span class="c666">新闻资讯</span>-<span id="indexTitle"  class="c666"></span></p>
            <div class="clearfix mainbox">
            	<div class="jrdLeft">
                	<ul>
	 					<#list articleItemList as articleItem>
							<li <#if item.id == articleItem.id>class="hot" id="${articleItem.itemName}"</#if> ><a href="/article/index?itemId=${articleItem.id}">${articleItem.itemName}</a></li>
						</#list>                       
                    </ul>
                </div>
                <input type="hidden" value = '${item.id}' id = "catalog">
                <div class="jrdRight">
                	<div class="jrdRtitle">${articleItem.itemName}</div>
	                    <div class="newList">
							<@include file="/article/titlePagination"/>
	                    </div>
                </div>
            </div>
        </div>
    </div>
    <@include file="/common/footer2"/>
</@master>
<@js src="/widget/jquery/jquery-1.11.3.min.js"/><@jsRender/>
<script>
	
	$(document).ready(function() {
		$(".jrdRtitle").html($(".hot").attr("id"))
		$("#indexTitle").html($(".hot").attr("id"))
	});
	
	
	function setPage(obj) {
		var showPage = obj.id;
		var itemId = $("#catalog").val();
		var pageTotal = $("#pageTotal").val();
		
		if (showPage == "go") {
			showPage = $("#goPage").val() - 1;
		}
		
		if (!(showPage > -1 && showPage < pageTotal)) {
			showPage = 0;
		}
		
		$.ajax({
			url:"/rArticle/showCatalog",
			data:{"showPage":showPage, "itemId":itemId },
			success:function(result){
				if(result){
					$('.newList').html(result.data);
				}
			}
		});		
	}
</script>




